//
//  IntegrateViewController.m
//  SDKSample
//
//  Created by 小肥羊 on 15/5/16.
//  Copyright (c) 2015年 Zhu‘s Game House. All rights reserved.
//

#import "IntegrateViewController.h"

@interface IntegrateViewController ()

@end

@implementation IntegrateViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    // 初始化tableView的数据
    SampleTableListItem *item = [[SampleTableListItem alloc] initWithTitle:@"第一个集成例子" explain:@"测试描述" controllerData:@"FirstIntegrateViewController"];
    
    SampleTableListItem *item2 = [[SampleTableListItem alloc] initWithTitle:@"二维码" explain:@"读取" controllerData:@"QRCodeIntegrateViewController"];
    
    SampleTableListItem *item3 = [[SampleTableListItem alloc] initWithTitle:@"本地数据库" explain:@"sql的使用" controllerData:@"LocalDataIntegrateViewController"];
    
    SampleTableListItem *item4 = [[SampleTableListItem alloc] initWithTitle:@"Video" explain:@"播放器" controllerData:@"VideoIntegrateVC"];

    SampleTableListItem *item5 = [[SampleTableListItem alloc] initWithTitle:@"ShareSDK的使用" explain:@"分享 登录等" controllerData:@"ShareSDKIntegrateViewController"];
    
    SampleTableListItem *item6 = [[SampleTableListItem alloc] initWithTitle:@"Plist" explain:@"Plist本地存储" controllerData:@"PlistIntegrateViewController"];

    NSMutableArray *list = [[NSMutableArray alloc] initWithObjects:item, item2, item3, item4, item5, item6, nil];
    self.integrateTableView.dataList = list;
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
